<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<title>购物车</title>
		<link rel="stylesheet" href="../css/common/mui.css" />
		<link rel="stylesheet" href="../css/common/common.css" />
		<link rel="stylesheet" href="../css/this/cart.css" />
		<link rel="stylesheet" href="../layer/skin/layer.css" />
	</head>
	<body>
		<div class='cart theFirst'></div>
		
		<script type='text/template' id='tpl-cart'>
			{{if list.list}}
			{{each list.list as list index}}
			<section class='bB mB3 bGWhite cart-list'  data-man='{{list.free}}'>
				<div class='mui-row bT lH51'>
					<div class='mui-col-xs-6 pL17 fS15'>{{list.title}}</div>
					<div class='mui-col-xs-6 tR pR17 topayMore' data-id='{{index}}' data-title='{{list.title}}'>
						<span class='cRed fS13 man-fan {{if list.money > list.free }}dN{{/if}} ' >满{{list.free}}包邮</span>
						<span class='pR12 fS15'>去凑单</span>
						<img src="../img/icon/right.png"  class='rightC vm pSR' style='top:-2px'/>
					</div>
				</div>
				{{each list as list1 index1}}
				{{if list1.pname}}
				<div style="position: relative;" class='oF bT product-mess  pB10 pT10 list-detail' data-skuId='{{list1.skuid}}'>
					<div class='fl w21 pL10 pR10'>
						<img src="{{list1.pic}}" class='b pro'/>
					</div>
					<div class='fl w79 pL10 pT3'>
						<p style="line-height: 1em;" class='fS18 cBlack w80 limit-text'>{{list1.pname}}</p>
								<p class='dIB cBlack pR38 fS15 single-price'>&yen;<span class='p1'>{{list1.ms_price}}</span></p>
								<div style="position: absolute;bottom: .84rem;left:50%;" class='dIB b oF lH20 numChoice' data-stock='list1.stock'>
									<button class='slice dIB fS15'>-</button><input type="number" class='dIB fS12 tC' value='{{list1.num}}'  data-id='{{list1.id}}'/><button class='add dIB fS15'>+</button>
								</div>
							<div class='dele' data-id='{{list1.id}}'>
								<img src="../img/icon/dele1.png" />
							</div>
					</div>
				</div>
				{{/if}}
				{{/each}}
			</section>
			{{/each}}
			<p class='cBlack fS13 pL17 pT7 '>正品保证，洋玩易为您挑选全球美食！</p>
			{{else}}
				<div class='tC' style='position:absolute;top:46%;left:15%;height:30%;width:70%;'>
					<span class='cGrey fS15'>亲  这个页面还没有数据哦~</span>
				</div>
			{{/if}}
			<section class='w bGWhite oF acco  lH56'>
				<p class='fS13 fl cBlack price'>合计 ：<span class='cRed'>&yen;<span class='num'>{{if list.total_money}}{{list.total_money}}{{else}}0.00{{/if}}</span></span></p>
				<button style="border: 0;" class= 'fr btn btn-black fS15 ls2 topay pL35 pR35'>去结算</button>
				<input type='hidden' value='0' class='total-num'/>
					<span class=" fr fS13 pR10">不含运费</span>

			</section>
		</script>
		<script src='../js/common/jquery.min.js'></script>
		<script src="../js/common/template.js"></script>
		<script src='../js/common/api.js'></script>
		<script src="../js/common/app.js"></script> 
		<script src='../layer/layer.js'></script>
		<script src='../js/common/header.js'></script>
		<script src='../js/common/footer.js'></script>
		<script src='cart.js'></script>
	</body>
</html>
